package com.geek;

import com.geek.config.DynamicDataSourceConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.geek.mapper")
@Import(DynamicDataSourceConfig.class)
public class Datasource01Application {

    public static void main(String[] args) {
        SpringApplication.run(Datasource01Application.class, args);
    }

}
